package com.meixun.xuanke.course.service;


import com.alibaba.fastjson.JSONObject;
import com.meixun.xuanke.course.model.Course;
import com.meixun.xuanke.course.model.User;

import java.util.List;


public interface CourseService {

    JSONObject getConfig(String schoolId, Integer termTypeid);

    Integer queryTermOne();

    Object querySubType(String schoolId);

    Object queryCourseListByStu(User user);

    List<Course> getMyCourseList(User user);

    int getMyCourseSize(User user);

    void updateCoureseList();

    Course getCourseDetail(Integer id,User user);

    int addCourse(Integer id,User user);

    int getCourseResult(Integer id,User user,Integer type);

    int removeCourse(Integer id,User user);


}
